package spring.cloud.tasks.executor;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author huihui
 */
//import org.mybatis.spring.annotation.MapperScan;
//@MapperScan("spring.cloud.**.**.mapper") 业务系统不需要DB相关的配置
@ComponentScan
@SpringBootApplication(exclude = {GsonAutoConfiguration.class, DataSourceAutoConfiguration.class})
public class TasksExecutorApplication {
    public static void main(String[] args) {
        SpringApplication.run(TasksExecutorApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  【任务执行服务】启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
